package com.honor.games.wg.entities;

public class WGCoordinates {

	private int x;
	private int y;
	
	public WGCoordinates() {
		
	}
	
	public WGCoordinates(int x, int y) {
		this.x = x;
		this.y = y;
	}
	
	public WGCoordinates cpy(WGCoordinates coord) {
		if(coord != null) {
			return new WGCoordinates(coord.getX(), coord.getY());
		} else {
			return null;
		}
	}
	
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	
	
}
